from random import choice,random,randint,shuffle
print('姓名:袁兆华 学号: 20190751028')

name = choice("张刘王李袁罗蒋何")
n = random()
print("姓名随机生成的数为", n)
if n > 0.51:
    name += choice('二三四五六七八九')
name += choice("州华江东浪百曼日")
print("随机生成的姓名为:", name)
n = randint(1,100)
if n > 51:
    sex = '男'
else:
    sex = '女'
print("性别随机生成数为:", n)
print("随机生成的性别为:", sex)
lst = ['北京', '上海', '重庆', '杭州', '广州', '成都', '湖南']
shuffle(lst)
print(lst)
print("难度一:")
print('随机生成的地区为:', lst[1])
print('随机生成的姓名为:',name,"性别:", sex, "地区:",lst[1])
print()

print("难度二")
n = randint(1,100)#  randint(a,b) 生成一个[a,b]之间的整数
addr = (f"新手村:{n}")
print(addr)
print('随机生成的姓名为:',name,"性别:", sex, "地区:",addr)





